<!-- BEST_RATED.TPL -->


<h2>{$smarty.const.LA_BEST_RATED}</h2>
<p class="headline">{$smarty.const.LA_BEST_RATED_DESCR}</p> 
<p>&nbsp;</p>


<table cellspacing="0" class="box" style="clear:both;">
<tr>
	<th width="25%">{$CATEGORY_URL} {$smarty.const.CATEGORY}</a></th>
	<th width="40%">{$AD_URL} {$smarty.const.TITLE} </a></a></th>
	<th width="10%">{$DATE_URL} {$smarty.const.DATE_ADDED}</a></th>
	<th width="15%">{$GRADE_URL} {$smarty.const.LA_GRADE} </a></th>
	<th width="10%">{$PICTURE_URL} {$smarty.const.PICTURE_TEXT}</a></th>
</tr>		


{foreach item=ad from=$ads}  
<tr class="{cycle values=",alt"}">
<td class="category">{$ad.CATEGORYNAME|truncate:50:"...":true}</td>
<td class="pointer"><a href="{$ad.LINK}">
{if $ad.SPECIAL}<b>{/if}{$ad.TITLE|truncate:37:"...":true}{if $ad.SPECIAL}</b>{/if}</a></td>
<td>{$ad.REGDATE}</td>
<td>{$ad.GRADE}</td>
<!-- <td bgcolor="{$ad.COLOR}">{$ad.e_3}</td> -->
<td>{$ad.IMAGEYESNO}</td></tr>
{/foreach} 

<tr>
<td colspan="5" align="center">
{if $prev_url} 
	<a href="{$prev_url}" class="button nextPrev">&lt; {$smarty.const.PREVIOUS_ADS} {$NUM_PER_PAGE}</a> 
{else}
	
{/if}


{if $next_url}	
	<a href="{$next_url}" class="button nextPrev">{$smarty.const.NEXT_ADS} {$NUM_PER_PAGE} &gt;</a> 
{else}	

{/if}
</td>
</tr>
</table>

<!-- // BEST_RATED.TPL -->